package com.crr.utils;

public class PageUtil {
    public static int getTotalPages(int count, int pageSize) {
        int totalpages = 0;
        if(count % pageSize == 0){
            totalpages=count/pageSize;

        }else {
            totalpages=(count/pageSize)+1;
        }
        return totalpages;
    }
}
